package com.example.demo.enums;

/**
 * @author ZhengWei
 * @Description
 * @date 2020/7/14 3:35 下午
 */
public enum City {
    SHANGHAI(1,"上海"),
    CHENGDU(8,"成都")
    ;

    private Integer cityId;
    private String cityName;

    City(Integer cityId, String cityName) {
        this.cityId = cityId;
        this.cityName = cityName;
    }

    public Integer getCityId() {
        return cityId;
    }

    public String getCityName() {
        return cityName;
    }
}
